﻿using System;

namespace org.se.fs.presenter.Library
{
    public class PagingLists
    {
        public UInt16 Page { get; set; }
        public UInt16 Size { get; set; }
        public string FilterString { get; set; }

        public PagingLists(UInt16 page, UInt16 size, string filterString)
        {
            Page = page;
            Size = size;
            FilterString = filterString;
        }

        public PagingLists(UInt16 page, string filterString)
            : this(page, Config.MaxPageSize, filterString)
        {
        }
    }
}
